package com.ruoyi.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 实验方案对象 bus_experiment_scheme
 * 
 * @author asher
 * @date 2021-11-09
 */
public class BusExperimentScheme extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 方案主键id */
    @Excel(name = "方案主键id")
    private Long schemeId;

    /** 实验方案名称 */
    @Excel(name = "实验方案名称")
    private String schemeName;

    /** 实验人 */
    @Excel(name = "实验人")
    private String operator;

    /** 实验时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实验时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operateTime;

    /** 模板id */
    @Excel(name = "模板id")
    private Long templateId;

    /** 模板名称 */
    @Excel(name = "模板名称")
    private String templateName;

    /** 实验目的 */
    @Excel(name = "实验目的")
    private String schemePurpose;

    /** 实验内容 */
    @Excel(name = "实验内容")
    private String schemeContent;

    /** 方案制作人 */
    @Excel(name = "方案制作人")
    private String schemeProducer;

    /** 实验开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "实验开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 实验结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "实验结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    public void setSchemeId(Long schemeId) 
    {
        this.schemeId = schemeId;
    }

    public Long getSchemeId() 
    {
        return schemeId;
    }
    public void setSchemeName(String schemeName) 
    {
        this.schemeName = schemeName;
    }

    public String getSchemeName() 
    {
        return schemeName;
    }
    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }
    public void setOperateTime(Date operateTime) 
    {
        this.operateTime = operateTime;
    }

    public Date getOperateTime() 
    {
        return operateTime;
    }
    public void setTemplateId(Long templateId) 
    {
        this.templateId = templateId;
    }

    public Long getTemplateId() 
    {
        return templateId;
    }
    public void setTemplateName(String templateName) 
    {
        this.templateName = templateName;
    }

    public String getTemplateName() 
    {
        return templateName;
    }
    public void setSchemePurpose(String schemePurpose) 
    {
        this.schemePurpose = schemePurpose;
    }

    public String getSchemePurpose() 
    {
        return schemePurpose;
    }
    public void setSchemeContent(String schemeContent) 
    {
        this.schemeContent = schemeContent;
    }

    public String getSchemeContent() 
    {
        return schemeContent;
    }
    public void setSchemeProducer(String schemeProducer) 
    {
        this.schemeProducer = schemeProducer;
    }

    public String getSchemeProducer() 
    {
        return schemeProducer;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("schemeId", getSchemeId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("schemeName", getSchemeName())
            .append("operator", getOperator())
            .append("operateTime", getOperateTime())
            .append("templateId", getTemplateId())
            .append("templateName", getTemplateName())
            .append("schemePurpose", getSchemePurpose())
            .append("schemeContent", getSchemeContent())
            .append("schemeProducer", getSchemeProducer())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .toString();
    }
}
